import React from "react";
import './Square.scss'

class Square extends React.Component {

    render() {
        return <div className={"square " + (this.props.active ? "active-square" : "")}
                    onClick={this.props.handleClick}
        >
            {this.props.value}
        </div>
    }
}

export default Square
